package com.ryskoo.framework.core.bean;

/**
 * 查询条件值常量
 * <p>
 * NE=Not Equal:<> <br>
 * EQ=Equal : = <br>
 * LIKE: %% <br>
 * LLike: L% <br>
 * RLIKE: R% <br>
 * GT=Great than : > <br>
 * GE=Great and Equal : >= <br>
 * LT=Less than : < <br>
 * LE=Less and Equal : <= <br>
 * IN :(in) <br>
 * NotIN :(not in) <br>
 * BETWEEN: (a<= >=b)
 *
 * @author ruiyun
 */
public enum QueryConditionEnum {

    NE(0), EQ(1), LIKE(2), LLIKE(3), RLIKE(4), GT(5), GE(6), LT(7), LE(8), IN(9), NOTIN(10), BETWEEN(11), OREQ(12), ORLIKE(13), DATERANGE(14);

    private int queryCode = 0;

    QueryConditionEnum(int queryCode) {
        this.queryCode = queryCode;
    }

    public int getCode() {
        return this.queryCode;
    }
}
